package day20131121;

import java.sql.Clob;
import java.util.Date;

public class CustomerVo {

	private int 	serial;    
	private String 	mid="";     
	private String 	mlevel="";  
	private String 	Nickname="";  
	private String	jemok="";  
	private Clob 	content ;
	private Date    mdate;
	private int 	hit=0;
	private int	 	status;
	private String 	part="";
	
	
	public String getContentString() {
		return contentString;
	}
	public void setContentString(String contentString) {
		this.contentString = contentString;
	}
	public String getFindStr() {
		return findStr;
	}
	public void setFindStr(String findStr) {
		this.findStr = findStr;
	}
	public int getNowPage() {
		return nowPage;
	}
	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}
	private String contentString; // Clob 타입의 데이터를 String으로 읽고 저장할 때 필요.
	private String findStr="";
	private int nowPage = 1;
	
	public String getPartName(){
		String partName="";
		if(getPart().equals("qa")) partName="묻고 답하기";
		else if(getPart().equals("faq")) partName="자주 묻는 글들";
		else if(getPart().equals("notice")) partName="알려드려요";
		else if(getPart().equals("board")) partName="자유글";
		
		return partName;
	}
	public int getSerial() {
		return serial;
	}
	public void setSerial(int serial) {
		this.serial = serial;
	}
	public String getMid() {
		return mid;
	}
	public void setMid(String mid) {
		this.mid = mid;
	}
	public String getMlevel() {
		return mlevel;
	}
	public void setMlevel(String mlevel) {
		this.mlevel = mlevel;
	}
	public String getNickname() {
		return Nickname;
	}
	public void setNickname(String nickname) {
		Nickname = nickname;
	}
	public String getJemok() {
		return jemok;
	}
	public void setJemok(String jemok) {
		this.jemok = jemok;
	}
	public Clob getContent() {
		return content;
	}
	public void setContent(Clob content) {
		this.content = content;
	}
	public Date getMdate() {
		return mdate;
	}
	public void setMdate(Date mdate) {
		this.mdate = mdate;
	}
	public int getHit() {
		return hit;
	}
	public void setHit(int hit) {
		this.hit = hit;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getPart() {
		return part;
	}
	public void setPart(String part) {
		this.part = part;
	}  

}
